const initState = {
  showMenu: true,
};

const reducer = function (state = initState, action) {
  switch (action.type) {
    case "showmemu":
      return { showMenu: true };
    case "hidememu":
      return { showMenu: false };
    default:
      return state;
  }
};
export default reducer;
